package com.hlm.demo.entity;


import java.io.Serializable;

/**
 * 管理员对应的角色表的实体类
 */
public class AdminRole implements Serializable {
    private Integer adminId;
    private Integer roleId;

    private AdminInfo adminInfo;
    private RoleInfo roleInfo;

    @Override
    public String toString() {
        return "AdminRole{" +
                "adminId=" + adminId +
                ", roleId=" + roleId +
                ", adminInfo=" + adminInfo +
                ", roleInfo=" + roleInfo +
                '}';
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public AdminInfo getAdminInfo() {
        return adminInfo;
    }

    public void setAdminInfo(AdminInfo adminInfo) {
        this.adminInfo = adminInfo;
    }

    public RoleInfo getRoleInfo() {
        return roleInfo;
    }

    public void setRoleInfo(RoleInfo roleInfo) {
        this.roleInfo = roleInfo;
    }
}
